The aaaalllliiiiaaaassss utility creates or redefines alias definitions or writes the
values of existing alias definitions to standard output. An alias
definition provides a string value that replaces a command name when it
is encountered.
An alias definition affects the current shell execution environment and
the execution environments of the subshells of the current shell. When
used as specified by this specification, the alias definition will not
affect the parent process of the current shell nor any utility
environment invoked by the shell.
OOOOPPPPEEEERRRRAAAANNNNDDDDSSSS
The following operands are supported:
_aaaa_llll_iiii_aaaa_ssss______nnnn_aaaa_mmmm_eeee Write the alias definition to standard output.
_aaaa_llll_iiii_aaaa_ssss______nnnn_aaaa_mmmm_eeee_====_ssss_tttt_rrrr_iiii_nnnn_gggg Assign the value of string to the alias aaaalllliiiiaaaassss____nnnnaaaammmmeeee....
If no operands are given, all alias definitions will be written to
standard output.
SSSSTTTTDDDDOOOOUUUUTTTT
The format for displaying aliases (when no operands or only name operands
are specified) is:
"%s=%s\n", name, value
The value string will be written with appropriate quoting so that it is
suitable for reinput to the shell.
EEEEXXXXIIIITTTT SSSSTTTTAAAATTTTUUUUSSSS
The following exit values are returned:
_0000 Successful completion.
>>>>0000 One of the name operands specified did not have an alias definition,
or an error occurred.
EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
1. Change llllssss to give a columnated, more annotated output: